home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 2XAZ41 (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.3 KB  |  29 lines

  1. package com.sun.java.swing.plaf.basic;
  2.  
  3. import java.awt.Point;
  4. import java.awt.Rectangle;
  5. import java.awt.event.MouseEvent;
  6. import java.awt.event.MouseMotionAdapter;
  7.  
  8. class BasicComboPopup$ListMouseMotionListener extends MouseMotionAdapter {
  9.    // $FF: synthetic field
  10.    BasicComboPopup this$0;
  11.  
  12.    public void mouseMoved(MouseEvent anEvent) {
  13.       Point location = anEvent.getPoint();
  14.       Rectangle r = new Rectangle();
  15.       this.this$0.list.computeVisibleRect(r);
  16.       if (r.contains(location)) {
  17.          this.this$0.valueIsAdjusting = true;
  18.          this.this$0.updateListBoxSelectionForEvent(anEvent, false);
  19.          this.this$0.valueIsAdjusting = false;
  20.       }
  21.  
  22.    }
  23.  
  24.    // $FF: synthetic method
  25.    BasicComboPopup$ListMouseMotionListener(BasicComboPopup this$0) {
  26.       this.this$0 = this$0;
  27.    }
  28. }
  29.